home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
Tk
/
getoption.z
/
getoption
Wrap
Text File
|
1998-10-30
|
2KB
|
67 lines
TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn((((3333TTTTkkkk)))) TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn((((3333TTTTkkkk))))
NNNNAAAAMMMMEEEE
Tk_GetOption - retrieve an option from the option database
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
Tk_Uid
TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn(_t_k_w_i_n, _n_a_m_e, _c_l_a_s_s)
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
Tk_Window _t_k_w_i_n (in) Token for window.
char *_n_a_m_e (in) Name of desired option.
char *_c_l_a_s_s (in) Class of desired option. Null means there
is no class for this option; do lookup
based on name only.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This procedure is invoked to retrieve an option from the database
associated with _t_k_w_i_n's main window. If there is an option for _t_k_w_i_n
that matches the given _n_a_m_e or _c_l_a_s_s, then it is returned in the form of
a Tk_Uid. If multiple options match _n_a_m_e and _c_l_a_s_s, then the highest-
priority one is returned. If no option matches, then NULL is returned.
TTTTkkkk____GGGGeeeettttOOOOppppttttiiiioooonnnn caches options related to _t_k_w_i_n so that successive calls for
the same _t_k_w_i_n will execute much more quickly than successive calls for
different windows.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
class, name, option, retrieve
PPPPaaaaggggeeee 1111